const Router = require('koa-router')

const {register}  =  require('../controller/register.controller')
const {sendRegister} = require('../middeleware/register.middleware')

const loginRouter = new Router({ prefix: "/register" });

loginRouter.post('/',sendRegister,register)
module.exports = loginRouter